﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="List_dbsj.aspx.cs" Inherits="Three_Managerment_Problem_one_List_dbsj" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="/style/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/style/css/select.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/style/js/jquery.js"></script>
    <script type="text/javascript" src="/style/js/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="/style/js/select-ui.min.js"></script>
    <script type="text/javascript" src="/style/editor/kindeditor.js"></script>

    <script type="text/javascript">
        KE.show({
            id: 'content7',
            cssPath: './index.css'
        });
    </script>

    <script type="text/javascript">
        $(document).ready(function (e) {
            $(".select1").uedSelect({
                width: 345
            });
            $(".select2").uedSelect({
                width: 167
            });
            $(".select3").uedSelect({
                width: 100
            });
        });
    </script>

    <style>
        .pager {
            width: 95%;
            margin: 10px;
            line-height: 20px;
            display: block;
        }

            .pager span {
                border: 1px solid #CCCCCC;
                margin: 0 5px;
                padding: 1px 6px;
                float: left;
            }

            .pager a {
                border: 1px solid #CCCCCC;
                display: block;
                overflow: hidden;
                float: left;
                margin: 0 5px;
                padding: 1px 6px;
            }

                .pager a:hover {
                    border: 1 solid red;
                    background-color: #1657a8;
                    color: #ffffff;
                    margin: 0 5px;
                    padding: 1px 6px;
                }
    </style>


</head>
<body>
    <form id="form1" runat="server">
    <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="Index.aspx">首页</a></li>
                <li><a href="#">督办事件查询</a></li>
            </ul>
        </div>

        <div class="rightinfo">


            <table class="tablelist">
                <asp:Repeater runat="server" ID="repeater" OnItemDataBound="repeater_ItemDataBound">
                    <HeaderTemplate>
                        <thead>
                            <tr>
                                <th width="10%">事件编号</th>
                                <th width="10%">事件来源</th>
                                <th width="5%">工号</th>
                                <th width="20%">标题</th>
                                <th width="12%">登记时间</th>
                                <th width="12%">限办时间</th>
                                <th width="10%">责任单位</th>
                                <th width="10%">办理单位</th>
                                <th width="10%">是否为重复件</th>
                            </tr>
                        </thead>
                        <tbody>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr onclick="javascript:window.location.href='Edit.aspx?type=look&id=<%#Eval("id") %>'">
                            
                            <td style="overflow:hidden"><%#Eval("appealid") %></td>
                            <asp:Repeater runat="server" ID="rep1">
                                <ItemTemplate>
                                    <td><%#Eval("name") %></td>
                                </ItemTemplate>
                            </asp:Repeater>
                            <td style="overflow:hidden"><%#Eval("jobnum") %></td>
                            <td style="overflow:hidden"><%#Eval("context") %></td>
                            <td style="overflow:hidden"><%#Eval("regtime") %></td>
                            <td style="overflow:hidden"><%#Eval("xbtime") %></td>
                            <td style="overflow:hidden"><%#Eval("zrdwid") %></td>
                            <td style="overflow:hidden"><%#Eval("bldwid") %></td>
                            <td style="overflow:hidden"><%# Convert.ToInt32(Eval("repeats")) == 0?"是":"否" %></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        <%#repeater.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                       
                        </tbody>
                    </FooterTemplate>
                </asp:Repeater>
            </table>

            <div class="pager">
                <webdiyer:AspNetPager
                    ID="AspNetPager1" runat="server" AlwaysShow="True" FirstPageText="首页"
                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager_PageChanged"
                    PrevPageText="上一页" PageSize="10">
                </webdiyer:AspNetPager>
            </div>

            <%--            <div class="tip">
                <div class="tiptop"><span>提示信息</span><a></a></div>

                <div class="tipinfo">
                    <span>
                        <img src="images/ticon.png" /></span>
                    <div class="tipright">
                        <p>是否确认对信息的修改 ？</p>
                        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
                    </div>
                </div>

                <div class="tipbtn">
                    <input name="" type="button" class="sure" value="确定" />&nbsp;
        <input name="" type="button" class="cancel" value="取消" />
                </div>

            </div>--%>
        </div>
    
    <script type="text/javascript">
        $('.tablelist tbody tr:odd').addClass('odd');
        </script>
    </form>
</body>
</html>
